package io.renren.modules.yunxin;

import com.alibaba.fastjson.JSONArray;
import io.renren.common.utils.MapUtil;


public class Test {


    private String url = "https://api.netease.im/nimserver/user/getUinfos.action";

    private String accids;


    public static void main1(String[] args) throws Exception {
        Test test = new Test();
        JSONArray jsonArray = new JSONArray();
        jsonArray.add("87");
        test.setAccids(jsonArray.toJSONString());
        String ret = YunxinUtils.postYunxin(test.getUrl(), MapUtil.form2Map(test,"url"));
        System.out.println(ret);
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAccids() {
        return accids;
    }

    public void setAccids(String accids) {
        this.accids = accids;
    }
}
